package net.qhzw.geologr5.gis.service.system.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import net.qhzw.geologr5.gis.common.framework.common.BaseQuery;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class GisQuery extends BaseQuery {


    /***
     * 省市县id
     */
    private Integer provinceId;
    private Integer cityVoId;
    private Integer countyId;


    private List<Integer> cityIds;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date[] createTime;
    /***
     * 矿产
     */
    private String mineral;

    /***
     * 项目类别id
     */
    private String projectTypeId;

    private List<Integer> typeId;

    /*时间范围*/
    private Date startTime;
    private Date endTime;

    private Integer projectInfoId;
    private Integer projectMapId;


    /***
     * 身份权限（1：对内，2：对外）
     */
    private Integer identity;
    /***
     * 文件权限
     */
    private Integer dictId;
}
